package com.yunxi.customer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.customer.pojo.CustomerFlowVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 客户流量 服务类
 * </p>
 *
 * @author 
 * @since 2019-08-24
 */
public interface CustomerFlowDubboService {

    CustomerFlowVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(CustomerFlowVO customerFlowVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<CustomerFlowVO> findPageByVO(CustomerFlowVO customerFlowVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<CustomerFlowVO> customerFlowVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(CustomerFlowVO customerFlowVO);
}
